package demo;

import com.jfinal.core.ActionKey;
import com.jfinal.core.Controller;

/**
 * @author ml
 * @create 2017-12-26--11:15
 */
public class HelloController extends Controller {

    public void index(){
        renderText("Hello Jfinal");
    }

    public void sayHello(){
        renderText("hello malin");
    }

    @ActionKey("/user")
    public void actionkey(){
        renderText("例外来了");
    }
}
